package com.websuites.esb.repository;

import java.util.HashMap;
import java.util.Iterator;

@SuppressWarnings("unchecked")
public class Column 
{
	private String sName;
	private HashMap mapProps = new HashMap();

	public String getName()
	{
		return sName;
	}
	public void setName(String sName)
	{
		this.sName = sName;
	}
	public void setPropValue(String sPropKey, String sPropValue)
	{
		mapProps.put(sPropKey, sPropValue);
	}
	public String getPropValue(String sPropKey)
	{
		if (mapProps.containsKey(sPropKey))
		{
			return (String)mapProps.get(sPropKey);
		}
		else
		{
			return null;
		}
	}
	public Iterator getPropIterator()
	{
		return mapProps.entrySet().iterator();
	}
	public void setProps(HashMap mapProps)
	{
		this.mapProps = mapProps;
	}
}
